package com.honvay.cola.uc.web.test;

public class Person {

    public String name;
    private int Age;

    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        Age = age;
    }

    private Person(String name){
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return Age;
    }

    public void setAge(int age) {
        Age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", Age=" + Age +
                '}';
    }

    public void show(){
        System.out.println("我是个人嗷");
    }

    private String shownation(String nation){
        System.out.println("我的国籍是" + nation);
        return nation;
    }
}
